import com.itheima.aop.Person;
import org.springframework.context.support.ClassPathXmlApplicationContext;

public class App {
    public static void main(String[] args) {
        ClassPathXmlApplicationContext ctx = new ClassPathXmlApplicationContext("applicationContext.xml");

         Person person = (Person) ctx.getBean("student");

         person.study();
    }
}
